package com.goods.business.service;

import com.github.pagehelper.Page;
import com.goods.common.model.business.BizProductCategory;
import com.goods.common.vo.business.ProductCategoryTreeNodeVO;
import com.goods.common.vo.business.ProductCategoryVO;

import java.util.List;

public interface BizProductCategoryService {

    List<ProductCategoryTreeNodeVO> selectPage(int pageNum, int pageSize);

    List<ProductCategoryTreeNodeVO> getParentCategoryTree();

    void add(BizProductCategory bizProductCategory);

    BizProductCategory findById(long id);

    void update(BizProductCategory bizProductCategory);

    void deleteById(long id) throws Exception;
}
